#!/bin/bash
# The following may be heavily borrowed from, if not 
# copied from, the NSA's December 20, 2007 "Guide to the 
# Secure Configuration of Red Hat Enterprise Linux 5, Revision 2"

# Title - Disable CoreDumps

#Initialize variables
export PRECHECK="grep 'fs.suid_dumpable = 0' /etc/sysctl.conf"
export QUESTION="Would you like to disable CoreDumps"
export DESCRIPTION="The sysctl variable fs.suid dumpable should be checked to ensure that it has not been enabled at anytime during system operation."
export SOLUTION="changeOrAdd 'fs.suid_dumpable' 'fs.suid_dumpable = 0' /etc/sysctl.conf"